/*
 * Copyright (c) 2020-2021. 国铁科技 All rights reserved.
 */

package com.example.springdemo.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * RestfulResponse
 * 定制返回json结构
 *
 * @author wenguang
 * @date 2021/11/15 16:14
 */
@Retention(RUNTIME)
@Target({TYPE, METHOD})
@Documented
public @interface RestResponse {

}
